package com.yeyks.order.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 酒店抢单记录表
 * </p>
 *
 * @author yun
 * @since 2019-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderPickRecord对象", description="酒店抢单记录表")
public class OrderPickRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("gmt_create")
    private Date gmtCreate;

    @TableField("gmt_modified")
    private Date gmtModified;

    @ApiModelProperty(value = "用户发布时间")
    @TableField("timestamp")
    private Long timestamp;

    @ApiModelProperty(value = "对应的操作用户ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "yyks:平台   cn:龙腾 ")
    @TableField("source_type")
    private String sourceType;

    @TableField("soure_hotel_id")
    private String soureHotelId;

    @TableField("source_room_id")
    private String sourceRoomId;

    @ApiModelProperty(value = "对应的操作用户手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "酒店ID")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "酒店所属人id")
    @TableField("operator_id")
    private Integer operatorId;

    @ApiModelProperty(value = "房间ID")
    @TableField("room_id")
    private Integer roomId;

    @ApiModelProperty(value = "用户出价")
    @TableField("user_show_price")
    private Integer userShowPrice;

    @ApiModelProperty(value = "入住时间")
    @TableField("check_in")
    private Date checkIn;

    @ApiModelProperty(value = "离店时间")
    @TableField("check_out")
    private Date checkOut;

    @ApiModelProperty(value = "0:自动  1：手动")
    @TableField("manual_pick_order")
    private Integer manualPickOrder;

    @TableField("extra_info")
    private String extraInfo;


    public static final String ID = "id";

    public static final String GMT_CREATE = "gmt_create";

    public static final String GMT_MODIFIED = "gmt_modified";

    public static final String TIMESTAMP = "timestamp";

    public static final String USER_ID = "user_id";

    public static final String SOURCE_TYPE = "source_type";

    public static final String SOURE_HOTEL_ID = "soure_hotel_id";

    public static final String SOURCE_ROOM_ID = "source_room_id";

    public static final String PHONE = "phone";

    public static final String HOTEL_ID = "hotel_id";

    public static final String OPERATOR_ID = "operator_id";

    public static final String ROOM_ID = "room_id";

    public static final String USER_SHOW_PRICE = "user_show_price";

    public static final String CHECK_IN = "check_in";

    public static final String CHECK_OUT = "check_out";

    public static final String MANUAL_PICK_ORDER = "manual_pick_order";

    public static final String EXTRA_INFO = "extra_info";

}
